package com.example.project.enums;

/**
 * 导出格式枚举
 * 
 * @author ruoyi
 * @date 2025-10-24
 */
public enum ExportFormat {
    EXCEL("Excel", ".xlsx"),
    PDF("PDF", ".pdf");
    
    private final String name;
    private final String extension;
    
    ExportFormat(String name, String extension) {
        this.name = name;
        this.extension = extension;
    }
    
    public String getName() {
        return name;
    }
    
    public String getExtension() {
        return extension;
    }
}